<!--

    Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
    Portions Copyright &#169; [2017-2020] Payara Foundation and/or affiliates.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<p><a id="task-setkeyptinterval" name="task-setkeyptinterval"></a><a id="GHJTS00008" name="GHJTS00008"></a></p>

<h4><a id="sthref11" name="sthref11"></a><a id="sthref12" name="sthref12"></a>To Set the Keypoint Interval</h4>
<a name="BEGIN" id="BEGIN"></a>
<p>Keypoint operations compress the transaction log file. The keypoint interval is the number of transactions between keypoint operations on the log. Keypoint operations can reduce the size of the transaction log files. A larger number of keypoint intervals results in larger transaction log files, but fewer keypoint operations, and potentially better performance. A smaller keypoint interval (for example, 256) results in smaller log files but slightly reduced performance due to the greater frequency of keypoint operations.</p>
<ol>
<li>
<p>In the navigation tree, expand the Configuration node.</p>
</li>
<li>
<p>Select the instance to configure:</p>
<ul>
<li>
<p>To configure a particular instance, select the instance's config node. For example, the default instance, <code>server</code>, select the <code>server-config</code> node.</p>
</li>
<li>
<p>To configure the default settings for all instances, select the <code>default-config</code> node.</p>
</li>
</ul>
</li>
<li>
<p>Select the Transaction Service node.</p>
<p>The Transaction Service page opens.</p>
</li>
<li>
<p>In the Keypoint Interval field, type the number of transactions between keypoint operations.</p>
<p>The default value is 65,536.</p>
</li>
<li>
<p>Click Save.</p>
</li>
</ol>
<a id="sthref13" name="sthref13"></a>
<h5>See Also</h5>
<ul>
<li>
<p><a href="task-configtransservice.html">To Configure the Transaction Service</a></p>
</li>
<li>
<p><a href="task-configtransrecovery.html">To Configure How the Payara Server Recovers Transactions</a></p>
</li>
<li>
<p><a href="task-settranstimeout.html">To Set a Transaction Timeout Value</a></p>
</li>
<li>
<p><a href="task-settranslog.html">To Set the Location of the Transaction Logs</a></p>
</li>
</ul>



<small>Copyright &#169; 2005, 2017, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></small>
<small>Portions Copyright &#169; [2017-2020] Payara Foundation and/or affiliates.</small>
